﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using DataLayer;

namespace AuditImitation.Graphics
{
    public class GraphicInfoForMaterial
    {
        public int MaterialId { get; set; }

        public string Name { get; set; }

        public ObservableCollection<ChartItem> CountsOfMaterial { get; set; }

        public GraphicInfoForMaterial(Material material)
        {
            MaterialId = material.MaterialId;
            Name = material.Name;
            CountsOfMaterial = new ObservableCollection<ChartItem>();
        }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
